package functions

/**
 * @Description TODO
 * @Author marshal
 * @Date 22/9/20 7:01 PM
 */
object PlaceholderTest extends App {

  def sum(a: Int, b: Int, c: Int) = a + b + c

//  println(sum(1, 2, 3)) // 6

  val a = sum _
//  println(a(1, 2, 3)) // 6
//  a.apply(1, 2, 3)

  val b = sum(1, _: Int, 3)
//  println(b(2)) // 6



}
